<%@page import="oocl.com.pojo.Customer"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
   <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<%
		Customer c = (Customer)request.getAttribute("c");
	%>
	<form action="updateList" method="get">
		id:<input type="text" name="id" value=${c.id }><br/>
		name:<input type="text" name="name" value=${c.name }><br/>
		sal:<input type="text" name="sal" value=${c.sal }><br/>
		birth:<input type="date" name="birth" value=<fmt:formatDate value="${c.birth }" pattern="yyyy-MM-dd"/>><br/>
		sex:<input type="radio" value="false" name="sex" checked="checked"/>boy
		<input type="radio" value="true" name="sex"/>girl<br/>
		favs:<input type="checkbox" name="favs" value="basket" checked="checked"/>basket	
		<input type="checkbox" value="football"/>football<br/>
		<input type="submit"/>
	</form>
</body>
</html>